import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
import * as echarts from 'echarts'
// 引用dayjs设置时间
import dayjs from "dayjs"
Vue.prototype.dayjs = dayjs;
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
Vue.config.productionTip = false
// 引用jQuery
import $ from "jquery"
window.$ = $;
// 引用axios
import axios from 'axios';
Vue.prototype.$ajax = axios
axios.defaults.baseURL = '/api'  //关键代码
Vue.config.productionTip = false
// 引用qs
import qs from 'qs'
Vue.prototype.$qs = qs

import Blob from './vendor/Blob'
import Export2Excel from './vendor/Export2Excel'
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
